﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using GeoSyndication.Common;

namespace GeoSyndication.KML
{
    public class KMLPointItem : KMLItem
    {
        public Point Point { set; get; }
    }

    public class KMLLineItem : KMLItem
    {
        public Point[] Line { set; get; }
    }

    public class KMLPolygonItem : KMLItem
    {
        public Point[] Polygon { set; get; }
    }

    public class KMLItem
    {
        public string Title { set; get; }
        public string Description { set; get; }
        public string Icon { set; get; }
        public string Link { set; get; }
        public DateTime Date { set; get; }
        public string[] Categories { set; get; }

        internal KMLItem()
        { 
        }
    }
}
